package com.atguigu.jxc.dao;


import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import com.atguigu.jxc.entity.Goods;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

public interface DamageListGoodsMapper {
    //保存商品报损单信息
    void save(DamageList damageList);
////保存商品报损单商品信息
    void savegoods(DamageListGoods listGood);


    List<DamageListGoods> list(@Param("sTime") String sTime,
                               @Param("eTime") String eTime);

    //查询报损单商品信息
    List<DamageListGoods> goodsList(Integer damageListId);
}
